function Policy() {}

Policy.prototype.shouldLoad = function P_shouldLoad(now)
{
    var hoursAllowed = [ 11, 13, 15, 17, 19, 21, 23 ];
    var minsAllowed = [ 0, 10 ];
    
    var hourAllowed = false;
    var minAllowed = false;
    
    hoursAllowed.forEach(function(hour)
        {
            if (now.getHours() == hour) hourAllowed = true;
        })
    
    if (now.getMinutes() >= minsAllowed[0] 
        && now.getMinutes() < minsAllowed[1])
            minAllowed = true;
    
    return hourAllowed && minAllowed;
}
